import { useState } from 'react';
const useCountHook = () => {
    const [count, setCount] = useState(0);
    const add = () => {
        setCount(count + 1)
    }
    return [count,add]
}
export default useCountHook;

